package net.bitacademy.java22.service;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;



public class ServiceStart extends BroadcastReceiver {
	
	
  @Override
  public void onReceive(Context context, Intent intent) {  
	  if(intent.getAction().equals("android.intent.action.BOOT_COMPLETED")){
		  context.startService(new Intent(context, Trigger.class));

	  }
  	}
  }
